package com.dailyblue.java.thread;

public class DemoE extends Thread {
    private DemoE1 e1;

    public DemoE(DemoE1 e1) {
        this.e1 = e1;
    }

    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            e1.change();
        }
    }
}
